﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:WpfHero="clr-namespace:WpfHero">
	<!-- Resource dictionary entries should be defined here. -->
	<WpfHero:BooleanToBoldConverter x:Key="BooleanToBoldConverter"/>

	<DataTemplate x:Key="SubDirectoriesTemplate">
		<StackPanel>
			<TextBlock Text="{Binding Path=Name, Mode=OneWay}" FontWeight="{Binding Path=HasSong, Converter={StaticResource BooleanToBoldConverter}, Mode=Default}"/>
		</StackPanel>
	</DataTemplate>
	<WpfHero:GemPauseConverter x:Key="GemPauseConverter"/>
	<WpfHero:GemSizeConverter x:Key="GemSizeConverter"/>
	<DataTemplate x:Key="GemTemplate">
		<WpfHero:GemControl Width="{Binding Converter={StaticResource GemSizeConverter}, Mode=OneWay}" Margin="{Binding Converter={StaticResource GemPauseConverter}, Mode=OneWay}" ToolTip="{Binding Path=AsString, Mode=Default}" x:Name="gem" Status="{Binding Path=Status, Mode=Default}"/>
		<DataTemplate.Triggers>
        </DataTemplate.Triggers>
	</DataTemplate>
	<ItemsPanelTemplate x:Key="GemLinePanelTemplate">
		<StackPanel IsItemsHost="True" Orientation="Horizontal"/>
	</ItemsPanelTemplate>
</ResourceDictionary>